package com.qst.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author Eumenides.
 * @create 2021-06-18 20:27
 */
@Controller
public class URLController {
    /**
     * 跳转到addmeetingroom
     *
     * @return java.lang.String
     * @Param []
     * @author Eumenides
     */
    @RequestMapping("/addmeetingroom")
    public String addmeetingroom() {
        return "addmeetingroom";
    }

    /**
     * 跳转到登录页面
     *
     * @return java.lang.String
     * @Param []
     * @author Eumenides
     */
    @RequestMapping("/index")
    public String toLogin() {
        return "redirect:/";
    }

    @RequestMapping("/approveaccount")
    public String approveaccount() {
        return "approveaccount";
    }

    @RequestMapping("/cancelmeeting")
    public String cancelmeeting() {
        return "cancelmeeting";
    }

    @RequestMapping("/changepassword")
    public String changepassword() {
        return "changepassword";
    }

    @RequestMapping("/departments")
    public String departments() {
        return "departments";
    }

    @RequestMapping("/meetingdetails")
    public String meetingdetails() {
        return "meetingdetails";
    }

    @RequestMapping("/meetingrooms")
    public String meetingrooms() {
        return "meetingrooms";
    }

    @RequestMapping("/mybookings")
    public String mybookings() {
        return "mybookings";
    }

    @RequestMapping("/mymeetingdetails")
    public String mymeetingdetails() {
        return "mymeetingdetails";
    }

    @RequestMapping("/notifications")
    public String notifications() {
        return "notifications";
    }

    @RequestMapping("/roomdetails")
    public String roomdetails() {
        return "roomdetails";
    }


    @RequestMapping("/searchmeetings")
    public String searchmeetings() {
        return "searchmeetings";
    }

    @RequestMapping("/searchemployees")
    public String searchemployees() {
        return "searchemployees";
    }


}
